package com.yunji.framework_template.books.orm.persistence.mapper;

import com.yunji.framework_template.books.orm.persistence.model.BooksCrawled;
import com.yunji.framework_template.common.web.Page;
import java.util.List;

public interface BooksCrawledMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(BooksCrawled record);

    int insertSelective(BooksCrawled record);

    BooksCrawled selectByPrimaryKey(Integer id);

    BooksCrawled selectByUrlMd5(String urlMd5);

    int updateByPrimaryKeySelective(BooksCrawled record);

    int updateByPrimaryKey(BooksCrawled record);

    List<BooksCrawled> selectByCondition(BooksCrawled record);

    List<BooksCrawled> selectAll();

    List<BooksCrawled> selectByPage(Page page);

    Integer count(BooksCrawled record);

    int deleteByCondition(BooksCrawled record);

    BooksCrawled selectByUrlMd5TypeId(BooksCrawled record);
}
